function BrainvoyagerToIcem(path)
h = spm_vol(path);
mat0 = h.mat;
h2 = mat0;
h2(2,:) = mat0(1,:);
h2(3,:) = -mat0(2,:);
h2(1,:) = -mat0(3,:);
V = spm_read_vols(h);
h.mat = h2;
[pathstr, name, ext] = fileparts(path);
h.fname = fullfile(pathstr, [name, '.nii']);
spm_write_vol(h,V);